#ifndef SCREEN_H
#define SCREEN_H

#include <SDL.h>
#include "NonCopyable.h"
#include "Singleton.h"

class Screen : public NonCopyable
{
private:
	Screen();
	friend class Singleton<Screen>;

public:
	bool Init(int w, int h, bool isFullScreen, bool isOpenGL);
	void Flip();
	SDL_Surface* GetScr();	

private:
	SDL_Surface* m_surface;
	bool m_isOpenGL;
};

typedef Singleton<Screen> TheScreen;

#endif